import logging

try:
    r = 10/0
except ZeroDivisionError as e:
    print("程序出错了\n")
    # print("错误信息是："+ e)
    logging.exception(e)
finally:
    print("还在继续运行哟！")
